package passwordManage;

import java.util.Scanner;

public class KS {
	public static Scanner input=new Scanner(System.in);

    //从键盘接收字符串类型数据
	public static String scan() {
		String str="";
		try {
			str=input.next();
		}catch(Exception e) {

		}
		return str;
	}

    //从键盘接收整型数据
	public static int scanInt() {
		int n=0;
		try {
			n=input.nextInt();
		}catch(Exception e) {
			
		}
		return n;
	}
    
    //从键盘接收浮点型数据
	public static double scanDouble() {
		double m=0;
		try {
			m=input.nextDouble();
		}catch(Exception e) {
			
		}
		return m;
	}

    
}

